home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
gnustuff
/
minix
/
update~4.z
/
update~4
/
lib_stdio_notused_scanf.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1989-09-06
|
455 b
|
31 lines
/* s c a n f
*
* Formatted input from stdin. The function returns the number items
* scanned from stdin and EOF on failure.
*
* Patchlevel 1.0
*
* Edit History:
*/
#include "stdiolib.h"
/*LINTLIBRARY*/
/*VARARGS1*/
/*ARGSUSED*/
int scanf(fmt, va_alist)
char *fmt; /* format */
va_dcl
{
va_list arg; /* argument vector */
int v; /* return value */
va_start(arg);
v = vfscanf(stdin, fmt, arg);
va_end(arg);
return v;
}